#ifndef POWERUP_H
#define POWERUP_H

#include <QGraphicsPixmapItem>
#include <QObject>

class PowerUp : public QObject, public QGraphicsPixmapItem{
    Q_OBJECT
public:
    enum Type { Shield, Magnet, Hover };
    explicit PowerUp(Type type, QGraphicsItem* parent = nullptr);

    Type getType() const { return m_type; }

signals:
    void collected(PowerUp::Type type);

private:
    Type m_type;
};

#endif // POWERUP_H
